package com.megan.design.principle.liskovsubstitution.methodoutput;

import lombok.extern.slf4j.Slf4j;

import java.util.HashMap;

/**
 * @Author: megan
 * @Data: 2018/8/23 上午8:44
 * @Description:
 */
@Slf4j
public class Child extends Base {

    @Override
    public HashMap method() {
        HashMap hashMap = new HashMap(1);
        log.info("子类method被执行");
        hashMap.put("message","子类method被执行");
        return hashMap;
    }
}
